package com.example.cursor_service;

import org.springframework.stereotype.Service;
import java.util.List;

@Service
public interface AuthService {
    boolean checkUserPermission(Integer userId, String permissionName);
    List<String> getUserPermissions(Integer userId);
    boolean checkUserRole(Integer userId, String roleName);
    List<String> getUserRoles(Integer userId);
} 